package com.syni.mdd.sjb.common.component.utils.common.entity;

import lombok.Data;

/**
 * @className Error
 * @description TOO
 * @Author cfx
 * @DATE 2020/3/19 21:54
 * @VERSION 1.0
 **/
@Data
public class Error {
    private String status;
    private String msg;
    private Object data;

    public Error(String code, String message) {
        this.status = code;
        this.msg = message;
        this.data = null;
    }
}
